package cn.stylefeng.guns.modular.business.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 车辆管理
 *
 * @author stylefeng
 * @date 2020/3/25 14:00
 */
@TableName("wx_expense")
@EqualsAndHashCode(callSuper = true)
@Data
public class WxExpense extends BaseEntity {

    /**
     * 消费账单编号
     */
    @TableId("wx_expense_id")
    private Long wxExpenseId;

    /**
     * 消费用户
     */
    @TableField("wx_expense_user_id")
    private Long wxExpenseUserId;

    /**
     * 使用设备时长
     */
    @TableField("wx_expense_time")
    private Long wxExpenseTime;

    /**
     * 使用金额
     */
    @TableField("wx_expense_install")
    private BigDecimal wxExpenseInstall;


}